import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import api from '@/api/api'
import '@/axiosConfig'
import element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/font-awesome-4.7.0/css/font-awesome.css'
import showImageDialog from '@/components/showImageDialog'
import sysApi from '@/api/sys/sys'
import moment from 'moment';
Vue.prototype.$moment = moment;
// 挂则sysApi
Vue.prototype.$apiSys = sysApi
// 挂则axios框架
Vue.prototype.$axios = axios
// 挂则全局api列表
Vue.prototype.$api = api
Vue.use(element)
// 注册全局的图片查看
Vue.component('ksh-show-img',showImageDialog)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
